#ifndef SENDMESSAGEDIALOG_H
#define SENDMESSAGEDIALOG_H

#include <QDialog>
#include <QxPLMessage.h>

namespace Ui {
class SendMessageDialog;
}

class SendMessageDialog : public QDialog
{
    Q_OBJECT
private:
    Ui::SendMessageDialog *ui;

private slots:
    void onAccept();

public:
    explicit SendMessageDialog(QWidget *parent = 0);
    ~SendMessageDialog();

    QxPLMessage createMessage(const QString& str, bool* ok = 0);

signals:
    void messageCreated(QxPLMessage);


};

#endif // SENDMESSAGEDIALOG_H
